import 'package:flutter/material.dart';

class Widget_ClipOval_Page extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
          appBar: AppBar(
            title: Text("ClipOval"),
          ),
          body: Center(
            child: ClipOval(
              child: Image.asset(
                "images/app.png",
                width: 100.0,
                height: 100.0,
                fit: BoxFit.cover,
              ),
            ),
          )
      ),
    );
  }
}

/**
 *  圆形裁剪
 * ClipOval({
 * Key key,
 * this.clipper, //裁剪路径
 * this.clipBehavior = Clip.antiAlias,
 * Widget child
 * })
 */
